using System;
using System.Collections.Generic;
using Domain.Core;

namespace Domain.Model.Nomenclatures
{
    public class NomenclatureCategory : ValueObject 
    {
        public NomenclatureCategory()
        {
            SubCategories = new HashSet<NomenclatureCategory>();
        }

        public string Name { get; set; }
        public string Description { get; set; }

        public Nullable<System.DateTime> CreatedOn { get; set; }
        public Nullable<System.DateTime> UpdatedOn { get; set; }

        public virtual ICollection<NomenclatureCategory> SubCategories { get; set; }


    }
}